package org.zhq.service.center;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.zhq.pojo.OrderStatus;
import org.zhq.pojo.Orders;
import org.zhq.pojo.vo.MyOrdersVO;
import org.zhq.pojo.vo.OrderStatusCountsVO;

public interface MyOrdersService {
    OrderStatusCountsVO getOrderStatusCounts(String userId);

    IPage<MyOrdersVO> queryMyOrders(String userId, Integer orderStatus, Integer page, Integer pageSize);

    void updateDeliverOrderStatus(String orderId);

    boolean updateReceiveOrderStatus(String orderId);

    boolean deleteOrder(String userId, String orderId);

    Orders queryMyOrder(String userId, String orderId);

    IPage<OrderStatus> getOrdersTrend(String userId, Integer page, Integer pageSize);
}
